package com.fzg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fzg.common.enums.ResponseWrapper;
import com.fzg.entity.ChinaProvinceCity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fzg
 * @since 2022-11-21
 */
public interface ChinaProvinceCityService extends IService<ChinaProvinceCity> {


    /**
     * 将全国所有省份，市区，县数据导入到MySQL数据库中
     * @return ResponseWrapper
     */
    ResponseWrapper importProvinceCityCounty();


    /**
     * 获取树状结构的省市区数据
     * @return ResponseWrapper
     */
    ResponseWrapper getTreeProvinceCityCountyData();

}
